<script language="javascript">
if(!isset(que)){
	var que = new Array();
}
var idd = '';
function onSend(idd){
	$.messager.progress();
	$("#searchFormNotice"+idd).form('submit',{
		url:'__URL__/advsearch/act/1',
		success:function(data){
			$.messager.progress('close');
			$("#Notice").datagrid('reload');
			var sa = '{$TC.config.SEARCH_ADV_ACTION}';
			if(sa==1){
				$("#searchNotice").dialog('close',true);
			}
		}
	});
}

var acon = $("#dd{$uniqid}").html();

//插行
que['add_{$uniqid}'] = new actRow();
que['add_{$uniqid}'].boxid = 'toadd{$uniqid}';
que['add_{$uniqid}'].content = '<TR>'+acon+'</TR>';
</script>
<div class="con-tb">
<form id="searchFormNotice{$uniqid}" method="post">
 <table class="infobox" width="100%" border="0" cellspacing="0" cellpadding="0" >
  <tbody id="toadd{$uniqid}">
  <tr>
    <td width="3%" height="32" align="center"><img onclick="que['add_{$uniqid}'].a()" style="cursor:pointer" src="__ITEM__/__ADMIN.IMG__/add_tr.gif" class="addtr" title="插入行" /></td>
    <td width="9%" align="center"><select name="field[]" data-options="editable:false">
      <option  value="t1_new_user_id">创建人</option>
      <option  value="t1_old_title">标题</option>
      <option  value="t1_new_status">状态</option>
      <option  value="t1_old_addtime">创建日期</option>
    </select></td>
    <td width="9%" align="center"><select name="mod[]" data-options="editable:false"> 
       <option  value="like">包含</option>
        <option value="=">等于</option> 
        <option  value=">">大于</option>
        <option  value="<">小于</option>
        <option  value=">=">大于等于</option>
        <option  value="<=">小于等于</option> 
        <option  value="<>">不等于</option>  
        <option  value="not like">不包含</option>
    </select></td>
    <td width="70%" align="center"><input name="keys[]" id="keyword" class="easyui-validatebox" style="width:98%" data-options="" /></td>
    <td width="9%" align="center"><select name="type[]" data-options="editable:false">
      <option value="AND" selected="selected">并且</option>
      <option  value="OR">或者</option>
    </select></td>
  </tr>
  </tbody>
  <tr id="dd{$uniqid}" style="display:none">
    <td width="3%" height="32" align="center"><img onclick="que['add_{$uniqid}'].d()" style="cursor:pointer" src="__ITEM__/__ADMIN.IMG__/del_tr.gif" class="deltr" title="删除行" /></td>
    <td width="9%" align="center"><select class="easyui-combobox" name="field[]" data-options="editable:false">
      <option  value="t1_new_user_id">创建人</option>
      <option  value="t1_old_title">标题</option>
      <option  value="t1_new_status">状态</option>
      <option  value="t1_old_addtime">创建日期</option>
    </select></td>
    <td width="9%" align="center"><select class="easyui-combobox" name="mod[]" data-options="editable:false">
      <option  value="like">包含</option>
        <option value="=">等于</option> 
        <option  value=">">大于</option>
        <option  value="<">小于</option>
        <option  value=">=">大于等于</option>
        <option  value="<=">小于等于</option> 
        <option  value="<>">不等于</option>  
        <option  value="not like">不包含</option>
      </select></td>
    <td width="70%" align="center"><input name="keys[]" id="keyword" class="easyui-validatebox" style="width:98%" data-options="" /></td>
    <td width="9%" align="center"><select name="type[]" data-options="editable:false">
      <option value="AND" selected="selected">并且</option>
      <option  value="OR">或者</option>
    </select></td>
  </tr>
  <tr>
    <td height="35" colspan="5" align="center"><a href="#" onclick="javascript:onSend('{$uniqid}')" id="su" class="easyui-linkbutton" data-options="iconCls:'icon-search'">立即查询</a></td>
    </tr>
 </table>
</form>
</div>